@import '~antd/es/style/variable.less';

html,
body,
#root {
    height   : 100%;
    min-width: 1200px;
}

.colorWeak {
    filter: invert(80%);
}

.ant-layout {
    min-height: 100vh;
}

.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
    left: unset;
}


canvas {
    display: block;
}

body {
    text-rendering         : optimizeLegibility;
    -webkit-font-smoothing : antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
    list-style: none;
}

img {
    user-select: none;
}

.inspect-phone {
    .ant-modal-confirm-btns {
        display: none;
    }
}

.again-send {
    .ant-modal-confirm-btns {
        width          : 100%;
        display        : flex;
        justify-content: space-between;
    }
}

@media (max-width: @screen-xs) {
    .ant-table {
        width     : 100%;
        overflow-x: auto;

        &-thead>tr,
        &-tbody>tr {

            >th,
            >td {
                white-space: pre;

                >span {
                    display: block;
                }
            }
        }
    }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active),
(-ms-high-contrast: none) {
    body .ant-design-pro>.ant-layout {
        min-height: 100vh;
    }
}


// 个性化更改

// 自定义主题按钮
.ant-pro-setting-drawer-handle {
    display: none;
}

// 自定义主题区域
// .ant-drawer-content-wrapper {
//     display: none;
// }

.ant-pro-global-header {
    padding-left: 0 !important;
}

.ant-tabs-tab-remove {
    font-size: 16px;
}

.ant-pro-sider-logo h1 {
    font-size: 22px;
}

.ant-tabs-card.ant-tabs-top>.ant-tabs-nav {
    margin: 0;
}

.spaceBetween {
    display        : flex;
    justify-content: space-between;
}